package com.roads.project.domain;

import java.math.BigDecimal;

import lombok.Data;
import com.roads.common.annotation.Excel;
import com.roads.common.core.domain.BaseEntity;

/**
 * 材料清单对象 pro_material_boq
 *
 * @author nhp
 * @date 2022-01-02
 */
@Data
public class ProMaterialBoq extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 清单ID
     */
    private Long boqId;

    /**
     * 清单编号
     */
    @Excel(name = "清单编号")
    private String boqCode;

    /**
     * 清单名称
     */
    @Excel(name = "清单名称")
    private String boqName;

    /**
     * 单位
     */
    @Excel(name = "单位")
    private String unit;

    /**
     * 单价
     */
    @Excel(name = "单价")
    private BigDecimal price;

    /**
     * 比例
     */
    @Excel(name = "比例")
    private Integer scale;

    /**
     * 状态（0正常 1停用）
     */
    @Excel(name = "状态", readConverterExp = "0=正常,1=停用")
    private String status;

    /**
     * 上级ID
     */
    @Excel(name = "上级编号")
    private String parentCode;

    /**
     * 祖籍列表
     */
    @Excel(name = "祖籍列表")
    private String ancestors;

    /**
     * 显示排序
     */
    @Excel(name = "显示排序")
    private BigDecimal orderNum;

    /**
     * 级别
     */
    @Excel(name = "级别")
    private Integer level;

    /**
     * 是否叶子结点（N否 Y是）
     */
    @Excel(name = "是否叶子结点", readConverterExp = "N=否,Y=是")
    private String leafNode;


}
